{\rtf1\ansi\ansicpg1252\cocoartf1265\cocoasubrtf200
{\fonttbl\f0\fswiss\fcharset0 Helvetica;}
{\colortbl;\red255\green255\blue255;}
\margl1440\margr1440\vieww10800\viewh8400\viewkind0
\pard\tx720\tx1440\tx2160\tx2880\tx3600\tx4320\tx5040\tx5760\tx6480\tx7200\tx7920\tx8640\pardirnatural

\f0\fs24 \cf0 %% Create ports\
$j=161;\
$max=180\
do\
\{\
$machine="sTile"+$j\
$i=2600\
do\
\{Get-AzureVM -ServiceName $machine -Name $machine | Add-AzureEndpoint -LocalPort $i -PublicPort $i -Name TCP$i -Protocol TCP | Update-AzureVM; $i+=1\}\
until ($i -gt 2700);\
\
$j+=1;\
\
\}\
until ($j -gt $max)\
}